﻿

#ifndef UNITCLASS_H
#define UNITCLASS_H
#include <sys/vfs.h>
#include <QDir>
#include <QFile>
#include <QSettings>
#include <QHash>
#include "unitclass.h"
#include "QDateTime"

typedef struct
{
    QString ftpPath;
    //QString logPath;
    //QString ledFormat;
    QString diskPath;
}sysConfig_t;
extern  sysConfig_t sysConfig;
void  setDiskPath(QString path);
void debugOut(QString str);
int getDispFreeSpace();
int getMemFreeSpace();

void deleteOldLog();
//网页参数配置
void setIp();
#endif // UNITCLASS_H
